package com.yorick.authority.service;

import com.yorick.authority.modal.request.BaseListRequest;
import com.yorick.authority.modal.request.ipWhiteList.IPWhiteListAddRequest;
import com.yorick.authority.modal.request.ipWhiteList.IPWhiteListDeleteRequest;
import com.yorick.authority.modal.request.ipWhiteList.IPWhiteListDetailRequest;
import com.yorick.authority.modal.request.ipWhiteList.IPWhiteListEditRequest;
import com.yorick.authority.modal.response.BaseListResponse;
import com.yorick.authority.modal.response.ipWhiteList.IPWhiteListDetailResponse;

import java.util.Map;

public interface IPWhiteListService {

    BaseListResponse getIPWhiteList(BaseListRequest request);

    Map<String, Object> addIPWhiteList(IPWhiteListAddRequest request);

    Map<String, Object> editIPWhiteList(IPWhiteListEditRequest request);

    IPWhiteListDetailResponse ipWhiteListDetail(IPWhiteListDetailRequest request);

    Map<String, Object> deleteIPWhiteList(IPWhiteListDeleteRequest request);

}
